var assert = require('assert');
var should = require('should');
var util = require('util');
var zlib = require('zlib');
var _ = require('lodash');
var mailService = require('../../app/services/mailService');
var config = require('../config');
var dataApi = require('../../app/libs/dataApi');
var PlayerManager = require('../../app/libs/playerManager');

suite('测试skillService', function () {
    var player_manager = new PlayerManager(config.role_id);
    setup(function (done) {
        player_manager.getModel(['mail', 'task', 'achieve', 'daily_task'], done);
    });

    suite('sendMail', function () {
        test('发送邮件', function () {
            mailService.sendMail(null, 'title', 'content', []);
            mailService.sendMail(player_manager.mail, 'title', 'content', []);
        });
    });
});
